package net.qiqbframework.eventsourcing.dao;

import com.baomidou.mybatisplus.annotation.TableName;
import net.qiqbframework.persisthanding.dao.BasicEntityPo;
import lombok.*;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("qiqb_domain_subscription")
public class DomainEventSubscriptionPo implements BasicEntityPo {

    private String id;

    private String eventId;


    /**
     * 处理的服务名称
     */
    @Setter
    private String applicationName;
    /**
     * 实例名称
     */
    @Setter
    private String instanceName;

    /**
     * 订阅数量
     */
    private Integer processListenerQty;

    /**
     * 处理反馈数量
     */
    private Integer processFeedbackListenerQty;


}
